init/FreeBSD: set correct PATH for xl devd
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 19 Dec 2016 15:02:01 +0000 (15:02 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 4 Jan 2017 17:06:36 +0000 (17:06 +0000)
commite7ad85ef7ecd64cb80705d438bc1b041e3605310
tree6df416cdb279358df6e97dc73a329df4be7fec02
parentbdbfca040a087d7fc5f1a9cfdd0e3b3a45498d24
init/FreeBSD: set correct PATH for xl devd

FreeBSD init scripts don't have /usr/local/{bin/sbin} in it's PATH, which
prevents `xl devd` from working properly since hotplug scripts require the set
of xenstore cli tools to be in PATH.

While there also fix the usage of --pidfile, which according to the xl help
doesn't use "=", and add braces around XLDEVD_PIDFILE.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
(cherry picked from commit 1d52073334d7615934fe804bc656b7aab0e92ebd)
tools/hotplug/FreeBSD/rc.d/xendriverdomain.in